#!/usr/bin/env python
# -*- coding: utf-8 -*-

from datetime import datetime
from persistent import Persistent
from persistent.list import PersistentList

class Group(Persistent):
    def __init__(self, groupname, description = None):
        super().__init__()
        self.groupname = groupname
        self.description = description
        self.created = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
        self.updated = datetime.now().strftime("%Y-%m-%d %H:%M:%S")

        self.project_paths = PersistentList()